package
{
	import flash.display.Sprite;
	import flash.net.LocalConnection;
	
	public class MyLocalReciver extends Sprite
	{
		private	var	_reciver:LocalConnection = null;
		
		public function MyLocalReciver()
		{
			super();
			_reciver = new LocalConnection();
			_reciver.connect("_test");
			_reciver.client = this;
		}
		
		public	function	testMethod(name:String, age:int):void{
			trace("name:"+name+",age:"+age);
		}
	}
}